//
//  UIView+FrameKIt.h
//  神约
//
//  Created by qlwl on 16/12/13.
//  Copyright © 2016年 qlwl. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (FrameKIt)
@property (nonatomic) CGFloat f_left;

/**
 * Shortcut for frame.origin.y
 *
 * Sets frame.origin.y = top
 */
@property (nonatomic) CGFloat f_top;

/**
 * Shortcut for frame.origin.x + frame.size.width
 *
 * Sets frame.origin.x = right - frame.size.width
 */
@property (nonatomic) CGFloat f_right;

/**
 * Shortcut for frame.origin.y + frame.size.height
 *
 * Sets frame.origin.y = bottom - frame.size.height
 */
@property (nonatomic) CGFloat f_bottom;

/**
 * Shortcut for frame.size.width
 *
 * Sets frame.size.width = width
 */
@property (nonatomic) CGFloat f_width;

/**
 * Shortcut for frame.size.height
 *
 * Sets frame.size.height = height
 */
@property (nonatomic) CGFloat f_height;

/**
 * Shortcut for center.x
 *
 * Sets center.x = centerX
 */
@property (nonatomic) CGFloat f_centerX;

/**
 * Shortcut for center.y
 *
 * Sets center.y = centerY
 */
@property (nonatomic) CGFloat f_centerY;
/**
 * Shortcut for frame.origin
 */
@property (nonatomic) CGPoint f_origin;

/**
 * Shortcut for frame.size
 */
@property (nonatomic) CGSize f_size;

//找到自己的vc
- (UIViewController *)f_viewController;




@end
